﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body>
<h5>Attributes:</h5>
<table border="3">
        <tr bgcolor="#ddbbcc">
            <td colspan="6">OneDayModel.Tests.Fits.Fixtures.Definitions.<b><i>AttributesDefinitionFixture</i></b>
            </td>
        </tr>
        <tr bgcolor="#bbee00">
            <td>Name</td>
            <td>Display Name</td>
            <td>Required</td>
            <td>Visible</td>
            <td>Type</td>
            <td>Values Range</td>
        </tr>
        <tr>
            <td>Alias</td>
            <td>Alias</td>
            <td>yes</td>
            <td>yes</td>
            <td>System.String</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Password</td>
            <td>Password</td>
            <td>yes</td>
            <td>yes</td>
            <td>System.String</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>eMail</td>
            <td>eMail</td>
            <td>yes</td>
            <td>yes</td>
            <td>System.String</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>AccountStatus</td>
            <td>&nbsp;</td>
            <td>yes</td>
            <td>no</td>
            <td>System.Enum</td>
            <td>notExist;existAndActive;existAndBanned;existAndWaitingForConfirmation</td>
        </tr>
        <tr>
            <td>FullName</td>
            <td>Full Name</td>
            <td>no</td>
            <td>yes</td>
            <td style="direction: ltr">System.String</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Gender</td>
            <td>Gender</td>
            <td>no</td>
            <td>yes</td>
            <td>System.Enum</td>
            <td>Male;Female</td>
        </tr>
        <tr>
            <td>DateOfBirth</td>
            <td>Date Of Birth</td>
            <td>no</td>
            <td>yes</td>
            <td>System.DateTime</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>StreetAddress</td>
            <td>Street Address</td>
            <td>no</td>
            <td>yes</td>
            <td>OneDayModel.DataTypes.StreetAddress</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>SelfDescription</td>
            <td>Self Description</td>
            <td>no</td>
            <td>yes</td>
            <td>System.String</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Height</td>
            <td>Height</td>
            <td>no</td>
            <td>yes</td>
            <td>System.Float</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Weight</td>
            <td>Weight</td>
            <td>no</td>
            <td>yes</td>
            <td>System.Float</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>EyeColor</td>
            <td>Eye Color</td>
            <td>no</td>
            <td>yes</td>
            <td>System.Drawing.Color</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>HairColor</td>
            <td>Hair Color</td>
            <td>no</td>
            <td>yes</td>
            <td>System.Drawing.Color</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>ShoeSize</td>
            <td>Shoe Size</td>
            <td>no</td>
            <td>yes</td>
            <td>System.Float</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>Equipment</td>
            <td>Equipment</td>
            <td>no</td>
            <td>yes</td>
            <td>System.String</td>
            <td>&nbsp;</td>
        </tr>
        </table>
<h5>Available Roles:</h5>
    <table border="3">
        <tr bgcolor="#ddbbcc">
            <td colspan="4">OneDayModel.Tests.Fits.Fixtures.Definitions.<b><i>RolesDefinitionFixture</i></b>
            </td>
        </tr>
        <tr bgcolor="#bbee00">
            <td>Name</td>
            <td>Public</td>
            <td>Parent Role</td>
            <td>Attributes</td>
        </tr>
        <tr>
            <td>Basic</td>
            <td>no</td>
            <td></td>
            <td>Alias;Password;eMail;AccountStatus</td>
        </tr>
        <tr>
            <td>Person</td>
            <td>no</td>
            <td>Basic</td>
            <td>FullName;Gender;DateOfBirth;StreetAddress;SelfDescription</td>
        </tr>
        <tr>
            <td>Model</td>
            <td>yes</td>
            <td>Person</td>
            <td>Height;Weight;EyeColor;HairColor;ShoeSize</td>
        </tr>
        <tr>
            <td>Photographer</td>
            <td>yes</td>
            <td>Person</td>
            <td>Equipment</td>
        </tr>
    </table>
    <h3>
        Test scenario:</h3>
    <table border="3">
        <tr bgcolor="#00bbcf">
            <td colspan="3" style="height: 23px">OneDayModel.Tests.Fits.Fixtures.BaseActionFixture
            </td>
        </tr>
        <tr bgcolor="#cfbbcf">
            <td style="height: 23px">start</td>
            <td colspan="2" style="height: 23px">OneDayModel.Tests.Fits.Fixtures.Scenarios.<b><i>NewUserProfileFixture</i></b></td>
        </tr>
        <tr>
            <td>press</td>
            <td colspan=2>New User</td>
        </tr>
        <tr>
            <td>check</td>
            <td>Available Roles</td>
            <td>Model;Photographer</td>
        </tr>
        <tr>
            <td style="direction: ltr">enter</td>
            <td>Selected Roles</td>
            <td>Model</td>
        </tr>
        <tr>
            <td>check</td>
            <td>Shown Required Attributes</td>
            <td>Alias;Password;eMail</td>
        </tr>
        <tr>
            <td>check</td>
            <td>Shown Optional Attributes</td>
            <td>Full Name;Gender;Date Of Birth;Street Address;Self Description;Height;Weight;Eye Color;Hair Color;Shoe Size</td>
        </tr>
        <tr>
            <td>enter</td>
            <td>Fill Data</td>
            <td>Alias=alias;Password=password;eMail=;Full Name=name;Gender=gender;Date Of Birth=date;Street Address=address;Height=h;Weight=w;Eye 
                Color=;Hair Color=hc;Shoe Size=;Self Description=self</td>
        </tr>
        <tr>
            <td>press</td>
            <td colspan=2>Save Profile</td>
        </tr>
        <tr>
            <td>check</td>
            <td>Exception Thrown</td>
            <td>Missing values for following attributes: eMail</td>
        </tr>
        <tr>
            <td style="direction: ltr">check</td>
            <td>Missed Attributes Info Shown</td>
            <td>eMail</td>
        </tr>
        <tr>
            <td style="direction: ltr">check</td>
            <td>Return To Questioner Option Shown</td>
            <td>yes</td>
        </tr>
        <tr>
            <td>press</td>
            <td>Return To Questioner</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>check</td>
            <td>Shown Required Attributes</td>
            <td>Alias=alias;Password;eMail</td>
        </tr>
        <tr>
            <td>check</td>
            <td>Shown Optional Attributes</td>
            <td>Full Name=name;Gender=gender;Date Of Birth=date;Street Address=address;Self Description=self;Height=h;Weight=w;Eye Color;Hair Color=hc;Shoe Size</td>
        </tr>
        <tr>
            <td>enter</td>
            <td>Fill Data</td>
            <td>Alias=alias;Password=password;eMail=email;Full Name=name;Gender=gender;Date Of Birth=date;Street Address=address;Height=h;Weight=w;Eye 
                Color=ec;Hair Color=hc;Shoe Size=shoe;Self Description=self</td>
        </tr>
        <tr>
            <td>press</td>
            <td colspan=2>Save Profile</td>
        </tr>
        </table>
<p>
    Test outcome:</p>
<table border="3">
    <tr bgcolor="#ddbbcc">
        <td colspan="6">OneDayModel.Tests.Fits.Fixtures.Query.<b><i>UsersQueryFixture</i></b></td>
    </tr>
    <tr bgcolor="#bbee00">
        <td>Alias</td>
        <td>Password</td>
        <td>eMail</td>
        <td>Roles</td>
        <td>Account Status</td>
        <td>Attributes</td>
    </tr>
    <tr>
        <td>alias</td>
        <td>password</td>
        <td>email</td>
        <td>Model</td>
        <td>existAndWaitingForConfirmation</td>
        <td>FullName=name;Gender=gender;DateOfBirth=date;StreetAddress=address;SelfDescription=self;Height=h;Weight=w;EyeColor=ec;HairColor=hc;ShoeSize=shoe </td>
    </tr>
    </table>
</body>
</html>
